<?php
session_start();
$_SESSION['userid'] = NULL;
$_SESSION['admin'] = "0";
$_SESSION = array();
header("Location: index.php");
exit();
?>